<template>
  <div class="route-service">
    <my-title titleName="路线服务" moreLink="/routeList"></my-title>

    <div class="route-content" v-for="(item, index) in routeServiceList" :key="index">
      <router-link :to="'/routeServDetail/'+item.id+'/'+item.creator" tag="div">
        <my-route :route="item"></my-route>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: "route-service",
  data() {
    return {};
  },
  props: ["routeServiceList"]
};
</script>

<style lang="stylus" scoped>
.route-service {
  margin-top 10px
  background-color #fff
  margin-bottom: 0.2rem;

  .route-content {
    padding: 0 0.3rem;
  }
}
</style>